package cn.hdu.liang.core.service.product;

import java.util.List;

import cn.itcast.common.page.Pagination;
import cn.hdu.liang.core.bean.product.Feature;
import cn.hdu.liang.core.query.product.FeatureQuery;


public interface FeatureService {

    public Integer addFeature(Feature feature);

    public Feature getFeatureByKey(Integer id);

    public List<Feature> getFeaturesByKeys(List<Integer> idList);

    public Integer deleteByKey(Integer id);

    public Integer deleteByKeys(List<Integer> idList);

    public Integer updateFeatureByKey(Feature feature);

    public Pagination getFeatureListWithPage(FeatureQuery featureQuery);

    public List<Feature> getFeatureList(FeatureQuery featureQuery);
}
